package com.example.xpvideo.service;

import com.example.xpvideo.entity.PageResult;
import com.example.xpvideo.entity.ResponseResult;
import com.example.xpvideo.entity.req.ReplyList;
import com.example.xpvideo.entity.req.SecondReplyList;
import com.example.xpvideo.entity.req.UpdateReq;
import com.example.xpvideo.entity.res.GoodsCommentsRes;
import com.example.xpvideo.entity.res.PhpSecondComment;
import com.example.xpvideo.entity.res.PhpVideoCommentRes;
import com.example.xpvideo.entity.res.SecondComments;
import com.example.xpvideo.exception.ErrorException;

import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/9/14 16:32
 * @description:
 */
public interface PhpVideoCommentService {
    ResponseResult<PageResult<List<PhpVideoCommentRes>>> replyList(ReplyList replyList)throws Exception;

    ResponseResult<PageResult<List<PhpSecondComment>>> secondReplyList(SecondReplyList secondReplyList)throws Exception;
    ResponseResult<Object> deleteComment(UpdateReq updateReq) throws ErrorException;
}
